Dynomotion

Group: DynoMotion Message: 6492 From: frank_19_88 Date: 1/16/2013
Subject: A command gcodes
Hi Tk,

I have a milling machine most functions working fine.
With s1000 the spindle start turning exact 1000rpm.(with encoder)

And if I use move(2,500) within the kflop console the spindle move 1/4th of a rev.

But I want to do this with mach3. (I think we need the A command)
But if I send A100, the kflop receive nothing and I can not find any vb script for the A command.

Hope you can help.

Frank
Group: DynoMotion Message: 6494 From: Tom Kerekes Date: 1/16/2013
Subject: Re: A command gcodes
Hi Frank,

Have you tried configuring A into the XYZA coordinate system with something like:

    DefineCoordSystem(0,1,-1,2);

Then try the A100 command in Mach3.

Do you have a Z axis?

Regards
TK

Group: DynoMotion Message: 6495 From: himykabibble Date: 1/16/2013
Subject: Re: A command gcodes
Have you defined an A axis in Mach3 mapped to the spindle channel on the KFlop?

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, "frank_19_88" wrote:
>
> Hi Tk,
>
> I have a milling machine most functions working fine.
> With s1000 the spindle start turning exact 1000rpm.(with encoder)
>
> And if I use move(2,500) within the kflop console the spindle move 1/4th of a rev.
>
> But I want to do this with mach3. (I think we need the A command)
> But if I send A100, the kflop receive nothing and I can not find any vb script for the A command.
>
> Hope you can help.
>
> Frank
>
Group: DynoMotion Message: 6551 From: frank_19_88 Date: 1/23/2013
Subject: Re: A command gcodes
Hello Ray and TK,

Thank you for your reply,

I did forget to run A axis on at mach 3.
A command is working fine now. :)

But next problem; if I use m3 the a axis start move .
Is it possible to move te A axis 180deg within the gcode program? (if I don't know the position at that moment)
I tried "g1 A[#2003+180]" but don't work.

With kind regards,

Frank

--- In DynoMotion@yahoogroups.com, "himykabibble" wrote:
>
> Have you defined an A axis in Mach3 mapped to the spindle channel on the KFlop?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, "frank_19_88" wrote:
> >
> > Hi Tk,
> >
> > I have a milling machine most functions working fine.
> > With s1000 the spindle start turning exact 1000rpm.(with encoder)
> >
> > And if I use move(2,500) within the kflop console the spindle move 1/4th of a rev.
> >
> > But I want to do this with mach3. (I think we need the A command)
> > But if I send A100, the kflop receive nothing and I can not find any vb script for the A command.
> >
> > Hope you can help.
> >
> > Frank
> >
>
Group: DynoMotion Message: 6574 From: Tom Kerekes Date: 1/23/2013
Subject: Re: A command gcodes
Hi Frank,

I think you could temporarily switch to relative mode with G91 so:

G1 G91 A180
G90 (switch back to absolute if necessary)

or you could set the current A position to zero before the move with

G92 A0
G1 A180

HTH
Regards
TK

Group: DynoMotion Message: 6581 From: frank_19_88 Date: 1/24/2013
Subject: Re: A command gcodes
Hi TK,

You are always very quick with your answers :)

I will try it tomorrow but I think both will do the job.
I will use G92 A0, G1 A180 because it is more save (cant forget to use G90)

With kind regards,

Frank


--- In DynoMotion@yahoogroups.com, Tom Kerekes wrote:
>
> Hi Frank,
>
> I think you could temporarily switch to relative mode with G91 so:
>
> G1 G91 A180
> G90 (switch back to absolute if necessary)
>
> or you could set the current A position to zero before the move with
>
> G92 A0
> G1 A180
>
> HTH
> Regards
> TK
>
>
> ________________________________
> From: frank_19_88
> To: DynoMotion@yahoogroups.com
> Sent: Wednesday, January 23, 2013 2:24 AM
> Subject: [DynoMotion] Re: A command gcodes
>
>
>  
> Hello Ray and TK,
>
> Thank you for your reply,
>
> I did forget to run A axis on at mach 3.
> A command is working fine now. :)
>
> But next problem; if I use m3 the a axis start move .
> Is it possible to move te A axis 180deg within the gcode program? (if I don't know the position at that moment)
> I tried "g1 A[#2003+180]" but don't work.
>
> With kind regards,
>
> Frank
>
> --- In DynoMotion@yahoogroups.com, "himykabibble" wrote:
> >
> > Have you defined an A axis in Mach3 mapped to the spindle channel on the KFlop?
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com, "frank_19_88" wrote:
> > >
> > > Hi Tk,
> > >
> > > I have a milling machine most functions working fine.
> > > With s1000 the spindle start turning exact 1000rpm.(with encoder)
> > >
> > > And if I use move(2,500) within the kflop console the spindle move 1/4th of a rev.
> > >
> > > But I want to do this with mach3. (I think we need the A command)
> > > But if I send A100, the kflop receive nothing and I can not find any vb script for the A command.
> > >
> > > Hope you can help.
> > >
> > > Frank
> > >
> >
>